<!DOCTYPE html>
<html>
<head>
    {include file='public/meta'/}
    <link rel="stylesheet" type="text/css" href="__STATIC_URL__/static/css/tidy.css"/>


    <link rel="stylesheet" type="text/css" href="__STATIC_URL__/static/bootstrap-table/bootstrap-table.css"/>
    <script src="__STATIC_URL__/static/bootstrap-table/bootstrap-table.js"></script>
    <script src="__STATIC_URL__/static/bootstrap-table/bootstrap-table-zh-CN.js"></script>
    <style>
        thead tr th {
            text-align: center;
        }

        tbody tr td {
            text-align: center;
        }
    </style>
</head>
<body>
{include file='public/header'/}
<!------------------导航-------------------------->
<section id="content">
    {include file='public/left'/}
    <!--------------------------主要内容区域------------------------------------->
    <div class="content">
        <div class="page-heading mgl15 mgr15">
            <ul class="breadcrumb">
                <li>当前位置是&nbsp;:</li>
                <li><a href="javascript:history.back();">营销工具</a></li>
                <li><a href="javascript:history.back(-2)">活动营销</a></li>
                <li>&nbsp;<a href="javascript:history.back(-1);">易订货</a></li>
                <li class="active" style="color: #02b87f;">用户类型</li>
            </ul>
        </div>
        <div class="panel mgl15 mgr15">
            <input type="hidden" id="get_type" value="get_list">
            <div class="panel-heading addCharts" style="background:#ededed;">用户类型
                <a href="javascript:;" class="btn btn-default pull-right mgl15" onclick="cateinput();" style="margin-top: -6px;">获取类型</a>

            </div>
            <div class="panel-body">
                <table class="table table-bordered" data-toolbar="#toolbar" id="tablelist">

                </table>
            </div>
        </div>
        {include file='public/footer'/}
    </div>
</section>
<!-- Modal -->

</body>
<script src="__STATIC_URL__/static/js/commen.js" type="text/javascript" charset="utf-8"></script>
<script src="__STATIC_URL__/static/layer/layer.js" type="text/javascript" charset="utf-8"></script>
<script src="__STATIC_URL__/static/laydate/laydate.js"></script>
<script src="__STATIC_URL__/static/js/times.js"></script>

<script src="/ydhtable.js"></script>
<script>

    $(function () {
        var type = "getusercatelist";
        var url = "{:url()}";
        getcolumn(type, url, "tablelist")
    });

    function cateinput() {
        $("#get_type").val("get_sync");
        $("#tablelist" ).bootstrapTable('refresh');
        setTimeout(function(){
            window.location.reload()
        },500)
    }
</script>


</html>
